package com.lsa.letcode.the17.letterComb;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.junit.Assert;
import org.junit.Test;

public class TestLetterComb {
	@Test
	public void test(){
		Solution s = new Solution();
		List<String> expected = Arrays.asList("ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf");
		List<String> actual = s.letterCombinations("23");
		
		Collections.sort(expected);
		Collections.sort(actual);
		Assert.assertEquals(expected, actual);
	}
}